package com.dao.c.backend.common;

public class StatusCode {
    //业务状态码
    public static final Integer SUCCESS = 1;
    public static final Integer ERROR = 0;
    //前端需要特殊操作的特殊状态码
    public static final Integer NOT_REGISTER = 402;  //没有注册
    public static final Integer NOT_LOGIN = 401;    //没有登录，token有问题
    public static final Integer LOGOUT = 403;        //注销状态，可能会更改

    //数据是否存在码
    public static final Integer DATA_NOT_EXIST = 0;
    public static final Integer DATA_EXIST = 1;

}
